Simpler\Services\QuotationService S

Total Complexity 37
Dependencies 21
Dependents 3
Total lines 314
Lines of code 175
Logical lines of code 92
Comment lines 84
Methods 14
Properties 2

Methods 14

Method Rating Maintainability Complexity Lines of code
calculate_shipping_rates()
S
54 6 20
create_quoted_products()
S
53 5 23
quote()
S
56 5 19
maybe_apply_coupon()
S
58 5 15
add_item_to_cart()
S
61 4 12
calculate_quotations_total()
S
52 3 23
create_fees()
S
62 2 13
register_filters()
S
56 1 23
init()
S
68 1 7
coupon_exists()
S
80 1 3
register_actions()
S
74 1 5
individually_sold_product_exception()
S
76 1 4
unpurchasable_product_exception()
S
76 1 4
out_of_stock_product_exception()
S
76 1 4